<!-- 改为jsp后 如有需要可按照以下方式include file  -->
<!--<%@include file="Inc/SysProduct.jsp"%> -->

<!-- <%
public ProductList
if request("order")="产品更新" then
   Session("ProductList")=""
end if
ProductList = Session("ProductList")
Sub PutToShopBag(Prodid, ProductList)
   If Len(ProductList) = 0 Then
      ProductList = "'" & Trim(Prodid) & "'"
   ElseIf InStr( ProductList, Prodid ) <= 0 Then
      ProductList = ProductList&", '"&Trim(Prodid)&"'"
   End If   
End Sub
%> -->
<!-- <%
Product_Id = Trim(Request("Product_Id"))
if instr(Product_Id,",")>0 then		
		idArr=Split(Product_Id, ",")
		for i = 0 to ubound(idArr)
			PutToShopBag idArr(I), ProductList
		next
else
		   PutToShopBag Product_Id, ProductList
end if
%> -->

<!-- <%
Session("ProductList") = ProductList

'判断购物车是否为空
if Productlist<>"''" then 
  sql="select * from Product where Product_Id in ("&ProductList&") order by     Product_Id"
  Set rs_price = conn.Execute(sql)
else 
  response.redirect "error.html?error=007"
  response.end
end if
%> --> 


<html>
<head>
<!-- 改为jsp后 解开注释include file  -->
<!--<%@include file="Head.jsp"%>-->

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Author" content="heweiqun">
<meta name="Contact" content="hdz2008@163.com">
<meta name="Copyright" content="www.southidc.net">

<script language="JavaScript">
function CheckUserForm()
{
	if (document.payment.Subject.value.length == 0) {
		alert("标题不能为空.");
		document.payment.Subject.focus();
		return false;
	}	
	if (document.payment.Notes.value.length == 0) {
		alert("说明不能为空.");
		document.payment.Notes.focus();
		return false;
	}
	if (document.payment.Receiver.value.length == 0) {
		alert("联系人不能为空.");
		document.payment.Receiver.focus();
		return false;
	}
    if (document.payment.CompanyName.value.length == 0) {
		alert("公司名不能为空.");
		document.payment.CompanyName.focus();
		return false;
	}   	
	if (document.payment.Email.value.length == 0) {
		alert("Email不能为空.");
		document.payment.Email.focus();
		return false;
	}
	if (document.payment.Email.value.length > 0 && !document.payment.Email.value.match( /^.+@.+$/ ) ) {
	    alert("EMAIL 输入有误.");
	    document.payment.Email.focus();
		return false;
	}	
	if (document.payment.Phone.value.length == 0) {
		alert("电话不能为空.");
		document.payment.Phone.focus();
		return false;
	}  
	return true;
}
</script>

</head>
<body>
<TABLE cellSpacing=0 cellPadding=0 width=1002 align=center border=0>
  <TBODY>
    <TR>
      <TD vAlign=top width=210><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR>
              <TD><IMG height=40 src="imgbly/lt14.gif" width=210></TD>
            </TR>
            <TR>
              <TD align=middle><TABLE width=180 border=0 align="center" cellPadding=0 
            cellSpacing=0 
            style="BORDER-RIGHT: #e9e9e9 1px solid; BORDER-TOP: #e9e9e9 1px solid; BORDER-LEFT: #e9e9e9 1px solid; BORDER-BOTTOM: #e9e9e9 1px solid">
                  <TBODY>
                    <TR>
                      <TD><TABLE cellSpacing=0 cellPadding=0 width=180 
                  border=0>
                          <TBODY>
                            <TR>
                              <TD width="22" align="right">&nbsp;</TD>
                              <TD width="158"><!-- <% call ShowSmallClass_Tree() %> --></TD>
                            </TR>
                          </TBODY>
                      </TABLE></TD>
                    </TR>
                  </TBODY>
              </TABLE></TD>
            </TR>
          </TBODY>
        </TABLE>
                            <form method="Get" name="myform" action="search.html">
          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
              <TR>
                <TD><IMG height=38 src="imgbly/tit_sel.gif" width=210></TD>
              </TR>
              <TR>
                <TD align=middle><table width="180" border=0 align="center" cellpadding=0 
                        cellspacing=1 
                        style="BORDER-RIGHT: #e3e3e3 1px solid; BORDER-TOP: #e3e3e3 1px solid; BORDER-LEFT: #e3e3e3 1px solid; BORDER-BOTTOM: #e3e3e3 1px solid">
                    <tbody>
                      <tr>
                        <td style="PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><table border="0" cellpadding="2" cellspacing="0" align="center">
                              <tr>
                                <td height="28"><input type="text" name="keyword"  style="BORDER-RIGHT: #b7b7b7 1px solid; BORDER-TOP: #b7b7b7 1px solid; BORDER-LEFT: #b7b7b7 1px solid; WIDTH: 120px; BORDER-BOTTOM: #b7b7b7 1px solid" size=12 value="关键字" maxlength="50" onFocus="this.select();">
                                    <input type="submit" name="Submit"  value="搜索">
                                </td>
                              </tr>
                        </table></td>
                      </tr>
                  </table></TD>
              </TR>
            </TABLE>
                            </form>
          <SCRIPT type=text/ecmascript>
function doLogin(fm){
   if(fm.uid.value=='' || fm.uid.value.indexOf("\'")!=-1){
		alert('对不起，用户名不能为空或含有单引号！');
		fm.uid.focus();
		return false;   			
   }
   if(fm.pwd.value==''){
		alert('对不起，密码不能为空！');
		fm.pwd.focus();
		return false;   			
   }

	var postData="Act=doLogin&uid="+escape(fm.uid.value)+"&pwd="+escape(fm.pwd.value);
	var loginAjax=new sc.Ajax("doLogin.html", "GET", postData);
	loginAjax.addEventListener(loginEvent);
	loginAjax.Exec();

	function loginEvent(){
		var a=loginAjax.ajax;
		if(a.readyState==4){ 
			if(a.status==200){
				var rtn=a.responseText;
				if(rtn==1){
					alert('恭喜，您己经登录成功！');
					document.location.reload();
				}else{
					alert('对不起，登录失败！用户名/密码错。');
				}
			}else{
				alert("抱歉，服务器忙，请稍后再试..."+a.statusText );
			}
		}
	}
	return false;
}

function doLogout(){
  var loginAjax=new sc.Ajax('doLogin.html', 'GET', 'Act=doLogout');
  loginAjax.addEventListener(logoutEvent);
  loginAjax.Exec();

	function logoutEvent(){
		var a=loginAjax.ajax;
		if(a.readyState==4){ 
			if(a.status==200){
				var rtn=a.responseText;
				if(rtn==1){
					alert('确定要退出吗！');
					document.location.href=".";
				}else{
					alert('对不起，退出失败！');
				}
			}else{
				alert("抱歉，服务器忙，请稍后再试..."+a.statusText );
			}
		}
	}
}

  </SCRIPT>
          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
              <TR>
                <TD><IMG height=38 src="imgbly/tit_mem.gif" width=211></TD>
              </TR>
              <TR>
                <TD align=middle><TABLE 
            style="BORDER-RIGHT: #e3e3e3 1px solid; BORDER-TOP: #e3e3e3 1px solid; BORDER-LEFT: #e3e3e3 1px solid; BORDER-BOTTOM: #e3e3e3 1px solid" 
            cellSpacing=1 cellPadding=0 width=178 align=center border=0>
                    <TBODY>
                      <TR>
                        <TD align="center" 
                style="PADDING-RIGHT: 5px; PADDING-LEFT: 2px; PADDING-BOTTOM: 5px; PADDING-TOP: 6px"><!-- <% call ShowUserLogin() %> --></TD>
                      </TR>
                  </TABLE></TD>
              </TR>
            </TBODY>
        </TABLE></TD>
      <TD style="BACKGROUND: url(imgbly/bg_body.gif) repeat-y 50% top" vAlign=top><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
          <TBODY>
            <TR>
              <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                  <TBODY>
                    <TR>
                      <TD background=imgbly/bg_rt.gif><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                        <TBODY>
                          <TR>
                            <TD><IMG src="imgbly/rt31.gif" width="209" height=41></TD>
                            <TD>&nbsp;</TD>
                            <TD class=loc 
                      style="BACKGROUND: url(img/bg_rtjiao.gif) no-repeat right 50%; COLOR: #9f9f9f" 
                      align=right>你现在的位置：<A href="index.html">首页</A> &gt; <A href="">产品中心</A> &gt; <span class="title_right">在线订单</span></TD>
                          </TR>
                        </TBODY>
                      </TABLE></TD>
                      <TD width=17>&nbsp;</TD>
                    </TR>
                  </TBODY>
              </TABLE></TD>
            </TR>
          </TBODY>
        </TABLE>
          <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
            <TBODY>
              <TR>
                <TD width=17 height=15>&nbsp;</TD>
                <TD>&nbsp;</TD>
                <TD width=17>&nbsp;</TD>
              </TR>
              <TR>
                <TD>&nbsp;</TD>
                <TD style="LINE-HEIGHT: 24px"><table class=border width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                            <td><!-- <%If Session("UserName")<>"" Then%> -->
                                <table width="100%" align="center" cellpadding=0 cellspacing=0>
                                  <tbody>
                                    <tr valign=top >
                                      <td  width="100%"><div align="center">
                                          <center>
                                          </center>
                                        </div>
                                        会员:<!-- <%=Session("UserName")%> -->：　　 </td>
                                    </tr>
                                    <tr valign=top >
                                      <td  width="100%">&nbsp;&nbsp;</td>
                                    </tr>
                                  </tbody>
                                </table>
                                <!-- <%end if%> -->
                            </td>
                          </tr>
                        </table>
                        <form action="Payment.html" method="POST" name="check">
                          <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#eaeaea">
                            <tr bgcolor="#FFFFFF">
                              <td colspan="2" height="25">&nbsp;&nbsp;<font color=B0266D><!-- <%=session("UserName")%> --> </font>您选取的产品明细如下:<br>
                                  <font color=B0266D>&nbsp; </font> </td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td width="18%" height="25" align="center">选取</td>
                              <td width="82%" height="25" align="center">产品名称</td>
                            </tr>
                            <!-- <%
 While Not rs_price.EOF   
%> -->
                            <tr bgcolor="#FFFFFF">
                              <td width="18%" height="20"><div align="center">
                                  <input type="CheckBox" name="Product_Id" value="" checked>
                                  <input type="CheckBox" name="Product_Id" value="1" checked>
                              </div></td>
                              <td width="82%" bgcolor="#FFFFFF"><div align="center"><font color="B0266D"><!-- <%=rs_price("Title")%> --></font></div></td>
                            </tr>
                            <!-- <%
rs_price.MoveNext
Wend
rs_price.close
set rs_price=nothing
%> -->
                            <tr bgcolor="#FFFFFF">
                              <td height="30" align="right"><div align="center">
                                  <input type="submit" name="order" value="产品更新">
                              </div></td>
                              <td height="25" align="right"><div align="center"> </div></td>
                            </tr>
                          </table>
                        </form>
                        <!-- <%
sql="select * from [User] where UserName='"&session("UserName")&"'"
set rs_price=server.createobject("adodb.recordset")
rs_price.open sql,conn,1,1
Sex=rs_price("Sex")
Phone=rs_price("Phone")
Email=rs_price("Email")
CompanyName=rs_price("CompanyName")
Receiver=rs_price("Receiver")
Add=rs_price("Add")
Fax=rs_price("Fax")
rs_price.close
set rs_price=nothing
%> -->
                        <form name="payment" action="Orderpreview.html" method="POST"  onSubmit="return CheckUserForm();">
                          <table border="0" cellspacing="1" cellpadding="3" align="center" width="100%" bgcolor="#eaeaea">
                            <tr>
                              <td width="96" height="23" bgcolor="#FFFFFF"><div align="right">TO<strong>:</strong></div></td>
                              <td width="439" bgcolor="#FFFFFF"><!-- <%=CompanyName%> -->&nbsp;</td>
                            </tr>
                            <tr>
                              <td height="21" bgcolor="#FFFFFF"><div align="right"><font color="#FF0000">*</font> 标题:</div></td>
                              <td height="21" bgcolor="#FFFFFF"><input name="Subject" type="text"  size="50" maxlength="100" value=""></td>
                            </tr>
                            <tr>
                              <td height="21" bgcolor="#FFFFFF"><div align="right"><font color="#FF0000">*</font> 说明:<br>
                (20-4000字符)</div></td>
                              <td height="21" bgcolor="#FFFFFF"><textarea name="Notes" cols="60" rows="10"></textarea></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="21" colspan="2"><div align="center">谢谢你对我们的产品感兴趣，我们会尽快和你联系！</div></td>
                            </tr>
                          </table>
                          <br>
                          <table border="0" cellspacing="1" cellpadding="3" align="center" width="100%" bgcolor="#eaeaea">
                            <tr bgcolor="#FFFFFF">
                              <td width="18%" rowspan="2" bgcolor="#FFFFFF"><div align="right"><font color="#FF0000">*</font> 联系人<strong>:</strong></div></td>
                              <td width="16%"><div align="right">
                                 <!-- <input name="Sex" type="radio" value="1"  <% if Sex="1" then response.Write("checked") end if%> > -->
                                 <!-- 此行的逻辑 在上一行 -->
                                 <input name="Sex" type="radio" value="1">
                                 <input name="Sex" type="radio" value="1" checked"/>
                先生</div></td>
                              <td width="66%" colspan="2" rowspan="2">
                             <!--  <input name="Receiver" type="text" class="form" id="name" size="30" value=<!-- <%=Receiver%> -->>-->
                             <input name="Receiver" type="text" class="form" id="name" size="30" value="1"/>
                                  <b></b></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td><div align="right">
                                  <!--<input type="radio" name="Sex" value="0" <!-- <% if Sex="0" then response.Write("checked") end if%> -->>-->
                                  <input type="radio" name="Sex" value="0" />
                女士</div></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="30" bgcolor="#FFFFFF"><div align="right"><font color="#FF0000">*</font> 公司名称<strong>:</strong></div></td>
                              <td height="30" colspan="3" bgcolor="#FFFFFF">
                              <input type="text" name="CompanyName" size="40" value="">
                              <input type="text" name="CompanyName" size="40" value="1"/>
              (4-100 字符) </td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="30" bgcolor="#FFFFFF"><div align="right">地址:</div></td>
                              <td height="30" colspan="3">
                              <input type="text" name="Add"  size="50" value="">
                              <input type="text" name="Add"  size="50" value="2"/>
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="30" bgcolor="#FFFFFF"><div align="right"><font color="#FF0000">*</font> E-mail<strong>:</strong></div></td>
                              <td height="30" colspan="3">
                              <input type="text" name="Email"  size="30" value="">
                              <input type="text" name="Email"  size="30" value="3"/>
                                  <b></b></td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="30" bgcolor="#FFFFFF"><div align="right"><font color="#FF0000">*</font> 公司电话<strong>:</strong></div></td>
                              <td colspan="3">
                              <input type="text" name="Phone" class="form" size="20" value="">
                              <input type="text" name="Phone" class="form" size="20" value="4"/>
              (Tel:86-010-81991660)</td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="30" bgcolor="#FFFFFF"><div align="right">传真<strong>:</strong></div></td>
                              <td colspan="3">
                              <input type="text" name="Fax" size="20" value="">
                              <input type="text" name="Fax" size="20" value="5"/>
              (Format:86-010-81991660)</td>
                            </tr>
                            <tr bgcolor="#FFFFFF">
                              <td height="32" colspan="4" align="center"><input type="submit" name="nextstep" value="提交请求">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
              <input type="button" value="继续购物" language=javascript onClick="javascript:window.close()" name="button">
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
              <input name="reset" type="reset" id="reset" value="重新填写">
                              </td>
                            </tr>
                          </table>
                          </form>
                      </td>
                  </tr>
                </table>
                </TD>
                <TD>&nbsp;</TD>
              </TR>
              <TR>
                <TD height=10>&nbsp;</TD>
                <TD>&nbsp;</TD>
                <TD>&nbsp;</TD>
              </TR>
            </TBODY>
        </TABLE></TD>
    </TR>
  </TBODY>
</TABLE>

<!-- 改为jsp后 解开注释include file  -->
<!--<%@include file="Inc/Foot.jsp"%>-->

<!--</BODY></HTML>-->
